package com.teamin.entity;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 任务消息类
 */
public class TaskMessageEntity implements Serializable {

	@ApiModelProperty(value = "ID")
	private Long id;

	@ApiModelProperty(value = "任务ID")
	private Long taskId;

	@ApiModelProperty(value = "任务名称")
	private String taskName;

	@ApiModelProperty(value = "任务消息的事件类型")
	private Integer eventId;

	@ApiModelProperty(value = "消息内容")
	private String messageContent;

	@ApiModelProperty(value = "事件的操作者")
	private Long controlUser;

	@ApiModelProperty(value = "事件的操作者名字")
	private String controlUserName;

	@ApiModelProperty(value = "事件的操作者头像")
	private String controlUserIcon;

	@ApiModelProperty(value = "创建者")
	private Long createrId;

	@ApiModelProperty(value = "创建者名称")
	private String createrUserName;

	@ApiModelProperty(value = "创建者头像")
	private String createrHeadIcon;

	@ApiModelProperty(value = "执行人")
	private Long assignerId;

	@ApiModelProperty(value = "执行人名称")
	private String assignerUserName;

	@ApiModelProperty(value = "执行人头像")
	private String assignerHeadIcon;

	@ApiModelProperty(value = "截止时间")
	private Date planFinishTime;

	@ApiModelProperty(value = "是否显示具体的时间")
    private Long isShowTime;

	@ApiModelProperty(value = "原数据的索引")
	private Long srcIndex ;

	@ApiModelProperty(value = "原数据的值")
	private String srcValue;

	@ApiModelProperty(value = "修改后的值的索引")
	private Long targetIndex;

	@ApiModelProperty(value = "修改后的值")
	private String value;

	public Long getSrcIndex() {
		return srcIndex;
	}

	public String getSrcValue() {
		return srcValue;
	}

	public Long getTargetIndex() {
		return targetIndex;
	}

	public void setSrcIndex(Long srcIndex) {
		this.srcIndex = srcIndex;
	}

	public void setSrcValue(String srcValue) {
		this.srcValue = srcValue;
	}

	public void setTargetIndex(Long targetIndex) {
		this.targetIndex = targetIndex;
	}
	public String getControlUserName() {
		return controlUserName;
	}

	public void setControlUserName(String controlUserName) {
		this.controlUserName = controlUserName;
	}

	public String getControlUserIcon() {
		return controlUserIcon;
	}

	public void setControlUserIcon(String controlUserIcon) {
		this.controlUserIcon = controlUserIcon;
	}

	public Long getCreaterId() {
		return createrId;
	}

	public void setCreaterId(Long createrId) {
		this.createrId = createrId;
	}

	public String getCreaterUserName() {
		return createrUserName;
	}

	public void setCreaterUserName(String createrUserName) {
		this.createrUserName = createrUserName;
	}

	public String getCreaterHeadIcon() {
		return createrHeadIcon;
	}

	public void setCreaterHeadIcon(String createrHeadIcon) {
		this.createrHeadIcon = createrHeadIcon;
	}

	public Long getAssignerId() {
		return assignerId;
	}

	public void setAssignerId(Long assignerId) {
		this.assignerId = assignerId;
	}

	public String getAssignerUserName() {
		return assignerUserName;
	}

	public void setAssignerUserName(String assignerUserName) {
		this.assignerUserName = assignerUserName;
	}

	public String getAssignerHeadIcon() {
		return assignerHeadIcon;
	}

	public void setAssignerHeadIcon(String assignerHeadIcon) {
		this.assignerHeadIcon = assignerHeadIcon;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setControlUser(Long controlUser) {
		this.controlUser = controlUser;
	}

	public Long getControlUser() {
		return controlUser;
	}

	public void setEventId(Integer eventId) {
		this.eventId = eventId;
	}

	public Integer getEventId() {
		return eventId;
	}

	public Long getTaskId() {
		return taskId;
	}

	public String getValue() {
		return value;
	}

	public void setTaskId(Long taskId) {
		this.taskId = taskId;
	}

	public void setValue(String value) {
		this.value = value;
	}

	@Override
	public String toString() {
		return "TaskMessageEntity{" + "id=" + id + ", taskId=" + taskId + ", eventId=" + eventId + ", value='" + value
				+ '\'' + ", controlUser=" + controlUser + '}';
	}

	public Date getPlanFinishTime() {
		return planFinishTime;
	}

	public void setPlanFinishTime(Date planFinishTime) {
		this.planFinishTime = planFinishTime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getIsShowTime() {
		return isShowTime;
	}

	public void setIsShowTime(Long isShowTime) {
		this.isShowTime = isShowTime;
	}

	public String getMessageContent() {
		return messageContent;
	}

	public void setMessageContent(String messageContent) {
		this.messageContent = messageContent;
	}
}